﻿using System;

namespace cz.zcu.PreSti.Components
{
    public class EntryPoint : RunnableComponent
    {

        public EntryPoint(IPresentation p) : base(p)
        {
            Finished += new EventHandler(onFinished);
        }

        public override void update() { }

        public new void trigIn(int n) { }

        private void onFinished(object sender, EventArgs e)
        {
            trigOut(0);
        }
    }
}
